-
Notifications
You must be signed in to change notification settings - Fork 61
[reconfigurator-planning] add test to ensure DNS lookups work on example system #9233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[reconfigurator-planning] add test to ensure DNS lookups work on example system #9233
Conversation
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this!
|
|
||
| out.insert(ServiceName::CruciblePantry, Ok(())); | ||
|
|
||
| // XXX the SledAgent service name doesn't appear to be used? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it probably is unused but arguably should be. I think we could incorporate it in the same way that you did for Crucible below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note we don't even register the sled agent service names within blueprint_internal_dns_config today. Have added these to the map with a response of QueryError::NoRecordsFound.
| ); | ||
| } | ||
|
|
||
| // TODO: add assertions on the returned addresses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // TODO: add assertions on the returned addresses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should check that the addresses match what we expect? I kind of skipped over that because I wanted to detect packet fragmentation first.
Created using spr 1.3.6-beta.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for this.
| | ServiceName::CruciblePantry => { | ||
| out.insert(service, Ok(())); | ||
| } | ||
| // Services that are not currently part of the example system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(sorry if we already did this)
Can you file an issue for including these in the example system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created using spr 1.3.6-beta.1
Ensure that DNS lookups for all internal services work on the example system, through both the standard and qorb DNS resolvers.
I did notice that the example system doesn't set up every service. Something worth doing in a followup, but this does catch issues like (manually tested) the repo depot response being too large.